package com.zebra.base.msgcode;

/**
 * @ClassName OperationErrorCode
 * @Description TODO 业务级的系统bug 400以上业务错误在此编码。
 * @Author 消魂钉
 * @Date 6/1 0001 9:23
 */
public enum OperationErrorCode implements MsgCode{


    CUSTOMER_NUMBER_EXISTS("40001", "客户信息已存在"),
    CARD_NUMBER_EXISTS("40002", "身份证已存在");

    private String code;
    private String msg;

    private OperationErrorCode(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    @Override
    public String getCode() {
        return this.code;
    }

    @Override
    public String getMsg() {
        return this.msg;
    }
}
